package io.renren.modules.rpo.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.modules.rpo.dao.ResumeDao;
import io.renren.modules.rpo.entity.ResumeEntity;
import io.renren.modules.rpo.service.ResumeService;



@Service("resumeService")
public class ResumeServiceImpl implements ResumeService {
	@Autowired
	private ResumeDao resumeDao;
	
	@Override
	public ResumeEntity queryObject(Integer id){
		return resumeDao.queryObject(id);
	}
	
	@Override
	public List<ResumeEntity> queryList(Map<String, Object> map){
		return resumeDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return resumeDao.queryTotal(map);
	}
	
	@Override
	public void save(ResumeEntity resume){
		resumeDao.save(resume);
	}
	
	@Override
	public void update(ResumeEntity resume){
		resumeDao.update(resume);
	}
	
	@Override
	public void delete(Integer id){
		resumeDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		resumeDao.deleteBatch(ids);
	}
	
}
